<?php
$isReloadable = true;
require_once("../../../pers/inc.config.php");
require_once(RGL_FS_WEB_ROOT.'/app/_inc/inc.session.php');
require_once(RGL_FS_WEB_ROOT.'/app/_inc/funct.html.php');
require_once(RGL_FS_WEB_ROOT.'/app/_inc/funct.getAbilitaz.php');

$aLic = explode("/",check_db_con());

$sCmdL  = "";

$sCmdR  = "&nbsp;&nbsp;&nbsp";
$sCmdR .=  cmdTorna();

testaHtml('Funzioni installatore', $msgPag, 'inst');
?>
<table border="0" cellpadding="3" cellspacing="1" width="100%" align='center'>
   <tr>
      <td class="cmd1" align="left" valign='bottom'>
         <? echo $sCmdL;?>
      </td>
      <td class="cmd1" align="right" valign='bottom'>
         <? echo $sCmdR;?>
      </td>
   </tr>
</table>
<table class="tab1" border="0" cellpadding="3" cellspacing="1" width="100%" align='center'>
	<?php echo getHtmlRigaRif()?>
	<tr>
		<td class="tit1" colspan='20' align='center'>Dati sistema</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>Codice abilitazione</td>
		<td class="txt1" colspan='6'>
			<?php echo rglVx($aLic,1);?>
		</td>
		<td class="lab1" colspan='4'>Data scadenza</td>
		<td class="txt1" colspan='6''>
			<?php echo YMD2DMY($aLic[0]);?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>Directory installaz.</td>
		<td class="txt1" colspan='6'>
			<?php echo RGL_FS_WEB_ROOT;?>
		</td>
		<td class="lab1" colspan='4'>Server</td>
		<td class="txt1" colspan='6''>
			<?php echo $_SERVER['HTTP_HOST'];?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_DB_HOST</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_DB_HOST;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_DB_USER</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_DB_USER;?>
		</td>
	</tr>
<?/*//////////////////	
	<tr>
		<td class="lab1" colspan='4'>RGL_DB_PWD</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_DB_PWD;?>
		</td>
	</tr>
*///////////////?>
	<tr>
		<td class="lab1" colspan='4'>RGL_DB_NAME</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_DB_NAME;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_URL_ROOT</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_URL_ROOT?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_FS_WEB_ROOT</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_FS_WEB_ROOT?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_FS_CODGEN_DIR</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_FS_CODGEN_DIR?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_FS_TEMP_DIR</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_FS_TEMP_DIR?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_FS_LOG_DIR</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_FS_LOG_DIR?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_FS_BIL_DIR</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_FS_BIL_DIR?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_SERVER_SMTP</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_SERVER_SMTP?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_MITTENTE_MAIL</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_MITTENTE_MAIL?>
		</td>
	</tr>
	<!-- tr>
		<td class="lab1" colspan='4'>RGL_RSS_URL</td>
		<td class="txt1" colspan='16'>
			<?php $aX =(unserialize(RGL_RSS_URL));
			foreach($aX as $kX => $sX) {
				echo $kX." : ".$sX."<br/>";
			}
			?>
		</td>
	</tr -->
	<tr>
		<td class="lab1" colspan='4'>RGL_FS_RSS_DIR</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_FS_RSS_DIR;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_TITOLO1</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_TITOLO1?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_COLORE_SFONDO</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_COLORE_SFONDO;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_COLORE_TESTO</td>
		<td class="txt1" colspan='16'>
			<?php echo RGL_COLORE_TESTO;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>RGL_REFRESH_IMGGEN</td>
		<td class="txt1" colspan='16'>
			<?php echo (RGL_REFRESH_IMGGEN)?'vero':'falso';?>
		</td>
	</tr>
</table>

<table border="0" cellpadding="3" cellspacing="1" width="100%" align='center'>
   <tr>
      <td class="cmd1" align="left" valign='bottom'>
         <? echo $sCmdL;?>
      </td>
      <td class="cmd1" align="right" valign='bottom'>
         <? echo $sCmdR;?>
      </td>
   </tr>
</table>
<?
codaHtml();
exit();
